<div app-header class="" left='' center='商品详情' right='' white='true' isapp='isapp'></div>
   <div class="p-r integral-goods-detail "  ng-style="{top:isapp?'0px':'44px'}">
       <div class="goods-detail-banner">
           <div id="slider" class="mui-slider"  style="height: 4.7rem" >
               <div class="mui-slider-group mui-slider-loop" style="height: 4.7rem" >
                   <!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
                   <div class="mui-slider-item mui-slider-item-duplicate"  >
                       <img class="b-img" ng-src="{{lastPath.filePath}}" alt="">
                   </div>
                   <!-- 第一张 -->
                   <div class="mui-slider-item" ng-repeat="filePaths in goodsDetails.fileUploadRecords">
                           <img  class="b-img" ng-src="{{filePaths.filePath}}">
                   </div>
                   <!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
                   <div class="mui-slider-item mui-slider-item-duplicate">
                       <img  class="b-img" ng-src="{{firstPath.filePath}}" alt="">
                   </div>
               </div>

           </div>
       </div>

       <div class="goods-detail-price">
           <div class="goods-num"><span class="sp-name" ng-bind="goodsDetails.goodsName"></span> </div>
           <div class="goods-price"> <span class="sp-price"  ng-bind="goodsDetails.discountPrice?goodsDetails.discountPrice:goodsDetails.originalPrice"></span> <span class="sp-unit">积分</span>
               <span class="sp-unit-original"  ng-show="goodsDetails.discountPrice" ng-bind="goodsDetails.originalPrice" ></span>
               <span class="sp-usable" ng-bind="'可用积分: '+availableBonus"></span></div>
       </div>

       <div class="goods-quantity-selection">
           <div class="d-ib" style="padding: 0.3rem 0 0.3rem 0">
               <span class="sp-title">数量</span>
               <span class="sp-exchange-num">（剩余可兑换</span><span class="sp-exchange-num2" ng-bind="goodsDetails.remaining"></span><span class="sp-exchange-num">份）</span>

           </div>
                 <div class="div-select">
                <a id="div-reduce" class="d-ib" style="padding: 0.3rem 0.2rem"   >
                    <p class="sp-add-subtract" id="integral-reduce" >-</p>
                </a>
                <span class="sp-num" ng-bind="purchase_quantity"></span>
                <a  id="div-add" class="d-ib" style="padding: 0.3rem 0.2rem"  >
                    <p class="sp-add-subtract" id="integral-add"   >+</p> </a>
                 </div>
       </div>
       <ul class="address" ng-show="isAddress">
           <li id="address-info"  class="mui-table-view-cell address-title ">
               <div class="mui-navigate-right ">
                  <div class="address-detail">收货地址<span id="integral-address-default"></span></div>
               </div>

           </li>
       </ul>
       <div class="exchange">
           <p class="exchange-title">兑换说明</p>
       </div>
       <div id="exchange-count" class="exchange-text-count" ></div> <!--ng-bind-html="goodsDetails.goodsInfo"-->

       <div class="exchange-bottom"  >
               <button   id="to-exchange" class="circle-button" ng-click="verify()">
               </button>
       </div>
       <div  class="dialog-exchange-bg" ng-show="showOrder">
            <div class="dialog-exchange"  ng-style="{top:isapp?'45%':'50%'}">
               <div class="border-bottom-1 dialog-exchange-title ">确认订单</div>
                <div class="dialog-exchange-name" ng-bind="goodsDetails.goodsName"></div>
                <div class="border-bottom-1" style="font-size: 13px">
                    <div class="dialog-exchange-num"><span class="d-ib text-030-666" >数量</span><span  class="sp-padding" ng-bind="purchase_quantity"></span> </div>
                    <div class="d-ib text-030-666"><span>消耗积分: </span><span class="dialog-exchange-integral" ng-bind="orderTotalPrice"></span></div>
                </div>
                <div  ng-show="isAddress" class="dialog-exchange-address">
                    <div class="address1"><span class="address-title">收货信息：</span><span ng-bind="selectAddress.name"></span><span class="address-phone" ng-bind="selectAddress.phone"></span></div>
                    <div class="address2"><span class="address-title">收货地址：</span><span ng-bind="selectAddress.address"></span></div>
                </div>
                <div class="dialog-btn">
                    <button class="dialog-cancer" ng-click="cancel()">取消</button>
                    <button class="dialog-confirm" ng-click="confirm()">确认兑换</button>
                </div>
            </div>
       </div>
   </div>


